-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Istio VirtualService delegation #715
Conversation
9df3a64
to
a335ea2
Compare
@kazukousen should we add some test in |
@mathetake i see, later i will try adding test. |
In addition to unit testing, i have added e2e testing to ensure that the CRD is actually behaving correctly and delegating as expected. its test want to switch enable/disable to pilot env My idea is to keep the number of replicas to 1 by adding the If you can accept this, I will try it. |
@kazukousen you could also patch istiod and set the memory and cpu requests super low. I am ok with whatever works. Thanks |
Co-authored-by: Takeshi Yoneda <yoneda.takeshi.md@alumni.tsukuba.ac.jp>
with the istiod cpu and memory requests set low, it works. |
Please update istio in e2e to a version that supports delegation. I guess that’s the reason validation fails. |
@stefanprodan |
@kazukousen can you please undo the kustomization change and use https://istio.io/latest/docs/ops/integrations/prometheus/ in e2e tests. |
265f4f0
to
50b513a
Compare
the failed test |
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @kazukousen 🏅
the Istio provider now supports VIrtualService delegate.
https://istio.io/latest/docs/reference/config/networking/virtual-service/#Delegate
for example, if rootVS and delegateVS are there, the VirtualService which Flagger creates can achieve to behave as delegateVS.
it might related #673 .
for that, the Hosts and Gateways must accept an empty to be applied as a delegateVS.